ScriptX Language Guide -- Table of Contents


About the ScriptX Language Guide

Preface
Who Should Read This Book
Summary of Contents
Manual Conventions

Chapter 1 Introducing the ScriptX Language
ScriptX-A Technical Overview
The ScriptX Language
The Kaleida Object Model
ScriptX and the Core Classes
What is Object-Oriented Programming?

Chapter 2 ScriptX Building Blocks
Expressions
Comments
Numbers
Strings
System Objects
Names
Variables
Assignment
ScriptX Operators and Simple Expressions
Operator Precedence
Arithmetic
Tests of Equality and Magnitude
Logical Operators
Arrays and Keyed Linked Lists
Access to Members of Collections
Compound Expressions
Compound Expressions and Variable Scope

Chapter 3 Working with Objects
Creating New Objects
Coercing Objects to Other Classes
Comparing Objects
Finding Information About Classes and Objects
Output

Chapter 4 Conditionals and Loops
Conditionals: if and case
Repeat Loops
for Loops
Loop Control Expressions

Chapter 5 Functions, Threads and Pipes
Defining Functions
Anonymous Functions
Closures
Using apply to Call Functions
Threads
Pipes

Chapter 6 Defining Classes and Objects
Defining Classes
Defining Objects
Multiple Inheritance
Defining Methods
Defining the new, init, and afterInit Methods
Comparison Functions
Defining Class and Instance Variables

Chapter 7 Collections
Collections
Strings as Collections
Searching Strings

Chapter 8 Exceptions
Catching and Handling Exceptions
What Happens In a Guard Construct
How to Control Throwing and Catching
Retrieving Information about the Exception
Creating Exception Subclasses and Instances

Chapter 9 Modules
Module Basics
Module Concepts
Defining and Using Modules
Organizing Modules
Storing Modules

Appendix A ScriptX Reference
ScriptX Language Syntax
Tokens and Literals
Types of Expression
Expression Syntax
Assignment and Variable Access
Flow of Control
Definition of Classes
Definition of Objects
Definition of Functions and Methods
Modules
Exception Handling
ScriptX EBNF Grammar

Appendix B Unicode Escape Characters
Colophon


This file last updated on 02/19/96.
By Sandra Ware
;